package com.sc.design.builder.chaininvoke;

/***
 * 模拟lombok的
 * @Builder注解实现
 *
 * 注意不要忘了最后的builder()方法
 */
public class Client {
    public static void main(String[] args) {
        User user = new User.UserBuilder("sc","123").tel("133").address("scccc").builder();
        user.hello();
    }
}
